#include<iostream>
#include<typeinfo>

using namespace std;


class Date
{
public:
	void Print()
	{
		cout << this << endl;
	}
};
int main()
{
	Date d1;
	d1.Print();
	cout << &d1 << endl;

	return 0;
}
